Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid mkdir /etc/rc.d when installing pbulk tools #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jlmuir
Copy link
Contributor

@jlmuir jlmuir commented Jul 7, 2017

When installing the pbulk tools, rsync is installed, and even though
the rsyncd system start-up script is not installed, the pkgsrc package
install logic tries to create /etc/rc.d, and on macOS Sierra, this
results in a mkdir error message like the following:

  # pkg_comp bootstrap
  ...
  ===> Binary install for pbulk-0.65
  => Installing pbulk-0.65 from /pkg_comp/packages/pbulk/All
  mkdir: /etc/rc.d: Read-only file system

Avoid the mkdir /etc/rc.d attempt by setting RCD_SCRIPTS_DIR to a path
under the pbulk tree which is writable, so no error message is emitted.

When installing the pbulk tools, rsync is installed, and even though
the rsyncd system start-up script is not installed, the pkgsrc package
install logic tries to create /etc/rc.d, and on macOS Sierra, this
results in a mkdir error message like the following:

  # pkg_comp bootstrap
  ...
  ===> Binary install for pbulk-0.65
  => Installing pbulk-0.65 from /pkg_comp/packages/pbulk/All
  mkdir: /etc/rc.d: Read-only file system

Avoid the "mkdir /etc/rc.d" attempt by setting RCD_SCRIPTS_DIR to a path
under the pbulk tree which is writable, so no error message is emitted.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant